<html>
<head>
</head>
<body>
    <div>
        <h1>当前二维码</h1>
    </div>
      <button type="button" id="asd"> 提交 </button>

</body>
<script type="text/javascript" src="admin/lib/jquery/1.9.1/jquery.min.js"></script>
<script>
    $('#asd').click(function (success,error) {
        $.ajax({
            url:"/getCompanyInfo",
            type:"POST",
            dataType:"json",
            xhrfield:{

            },
            success:success,
            error:error

        });
    });
    function success(data) {
        alert(data);
    }
    function error() {
        console.log(data);
    }
</script>
</html>